<template>
  <Dropdown @on-click="clickHandle" trigger="click">
    <a href="javascript:void(0)">
      更多
      <Icon type="ios-arrow-down"></Icon>
    </a>
    <DropdownMenu slot="list">
      <DropdownItem name="history-version">历史版本</DropdownItem>
      <DropdownItem name="monitor-query">监听查询</DropdownItem>
    </DropdownMenu>
  </Dropdown>
</template>

<script>
export default {
  name: "moreBtn",
  methods: {
    clickHandle(name) {
      this.$emit('btnClick', name)
    }
  }
};
</script>

<style scoped lang="less">
a:hover{
  color: #ff6f4b;
}
</style>
